<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>

    <script>

        // session 会话   从打开这个网站到关闭这个网站  --- 就是一次会话
        //    跳转过去的页面都可以访问数据

        sessionStorage.setItem('www' , '1234');

        console.log(sessionStorage);

        document.onclick = function() {
            location.href = './08_localStorage.html'
        }

    </script>
    
</body>
</html>